package cn.kt.dao;

import cn.kt.pojo.TeacherPojo;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface TeacherDao {
    List<TeacherPojo> findUser(Integer id,String name,Integer state);
    TeacherPojo userUpdateShow(TeacherPojo tp);
    Integer checkUser(String account);
    Integer checkPhone(Long phone);
    HashMap findPhoneUser(Long phone);
    Integer addUser(TeacherPojo teacherPojo);
    Integer updateUser(TeacherPojo tp);
}
